package com.meixiang.adapter;

import android.support.v7.widget.RecyclerView;
import android.view.ViewGroup;


import java.util.List;

/**
 * 作者：黑哥 on 2016/4/13 14:03
 *
 * 对于RecycleView 理解
 *
 * 必须继承RecyclerView.Adapter
 *
 *
 */
public class RecyclerAdapter extends RecyclerView.Adapter {
    private List<String> mDatas;
    private int itemLayout;


    public RecyclerAdapter( int itemLayout,List<String> mDatas) {
        this.mDatas = mDatas;
        this.itemLayout = itemLayout;
    }


    @Override
    public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
        return null;
    }

    @Override
    public void onBindViewHolder(RecyclerView.ViewHolder holder, int position) {

    }

    @Override
    public int getItemCount() {
        return 0;
    }
}
